package com.livestocksolutions.util;

import com.livestocksolutions.Bovine;

/**
 * Store Cattle, that can be stored directly in a ComboBox.
 * @param <T> The Sub-Class or Bovine to store in this BovineList
 *
 * @author Adam Parr
 * @.modified 16 October 2012
 */
public class BovineList<T extends Bovine> extends ItemList<T> {
	/**
	 * Constructor
	 * @param bovine The Cattle to store in this Object
	 */
	public BovineList(T bovine){
		super(bovine);
	}
	
	@Override
	public String toString(){
		return item!=null?item.getEartag().getEartagID()+" - "+item.getEartag().getRfID():"Not Available";
	}
}
